/*** recommend tutorial ***/
#video-tut-list{
	margin-top: 40px;
}

#video-tut-list ul{
	margin:20px 0 0 0;
}

#video-tut-list ul li{
	list-style-image: none;
	list-style-type: none;
	min-height: 90px;
}

#video-tut-list span{
	display: inline-block;
	margin-top:5px;
}

#video-tut-list .lc{
	float:left;
	margin-right:20px;
	text-align: center;
	width: 100px;
}

#video-tut-list .lc b{
	color:#ff0000;
}

#video-tut-list .rc .vt-desc{
	color: #555;
	font-size: 13px;
	font-weight: normal;
	line-height: 1.2;
	margin-top: 5px;
}

.bordered-thumb {
	display: block;
	border: 1px solid #666;
	border-radius: 4px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgba(255,255,255,0.3) inset,0 1px 3px rgba(0,0,0,0.45);
	background-position: center;
	background-size: cover;
}
/*** recommend tutorial ***/

.post-navi-bottom{
	margin:30px 0 20px 0;
	color: #999;
	border-top: 1px dashed #DDD;
	padding-top: 20px;
}

/** recommended book **/
.book{
	margin-right:20px;
	float:left;
	text-align:center;
	width:70px;
}

.books-img{
	margin-bottom:10px;
	border:1px solid #000;
}

.books-img img{
	width:70px;
	height:80px;
}

/** global style **/
ol {
	padding: 0;
	margin: 0 0 12px 36px;
}

ul {
	padding: 0;
	margin: 0 0 12px 30px;
}

ul li{
	margin-bottom:4px;
}

form {
	margin: 0;
}

code {
	color: #228B22;
	padding: 4px;
}

p {
	margin: 0 0 20px 0;
}

textarea {
	padding: 4px;
}

pre{
    margin:0 0 20px 0;
	padding:10px;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
	border: 1px solid #D1D1E8;
	background-color:#F7F7F9;
    overflow-x: auto;
}

.images{
	/** background-image:url('../images/all-images.png'); **/
	width:125px;
	height:125px;
}

.post-thumbnail{
	margin:0 20px 0 0;
	border: 1px solid #DDD;
	padding: 4px;
	float:left;
}

.attachment-100x100{
    width:100px;
    height:100px;
}

.field-required{
    color:red;
}

.iframe-demo{
    background-color: #F9F9F9;
    border: 1px solid #DDD;
    margin: 20px 0;
    padding: 20px;
    text-align: center;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

input.watermark { color: #999; }

#contact-form-submit-post input, #contact-form-submit-post textarea{
   width:auto!important;
}

#post-comments textarea{
   width:auto!important;
}

#captch-img{
   border: 1px solid #DDD;
   padding:4px;
   margin-bottom:10px;
   width:70px;
}

.nav-previous, .nav-next{
  margin:20px;
}

/*** sidebar signup form ***/
#sidebar-signup{
	background: -o-linear-gradient(top,#6281AE,#4F6B92);
	background: -webkit-gradient(linear,0% 0,0% 100%,from(#6281AE),to(#4F6B92));
	background: -webkit-linear-gradient(top,#6281AE,#4F6B92);
	background: -moz-linear-gradient(top,#6281AE,#4F6B92);
	background: -ms-linear-gradient(top,#6281AE,#4F6B92);
	background: -o-linear-gradient(top,#6281AE,#4F6B92);
	border: 1px solid #496183;
	border-radius: 2px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.7);
	-moz-box-shadow: 0 4px 4px -4px rgba(0,0,0,0.7);
	-webkit-box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.7);
	box-shadow: 0 4px 4px -4px rgba(0, 0, 0, 0.7);
	font: 14px Helvetica,Arial,sans-serif;
	margin: 0 0 10px;
	padding:10px 10px 14px 10px;
}

#sidebar-signup label{
	color: white;
	font-size: .95em!important;
	margin: 0!important;
	display: block;
	padding: 0 0 7px!important;
	text-shadow: 1px 1px #49668F;
	font-weight: normal;
}

#sidebar-signup input{
	width:auto!important;
	margin-bottom: 0px!important;
	padding:2px;
}


/*
* header.php - header and menu
*/
#header-top {
	background-color: #548B54;
	border-bottom: 1px solid #3B5166;
	font-size: 12px;
	color: #FFFFFF;
	font-weight: bold;
}

#header-top-container {
	float: right;
	margin-bottom:4px;
}

#header-top-container ul li {
	float: left;
	margin: 0;
	padding: 4px 20px 0 0;
	list-style-type: none;
}


#header-top a:link,#header-top a:visited,#header-top a:active {
	text-decoration: none;
	color: #fff;
}

#header-top a:hover {
	text-decoration: underline;
	color: #fff;
}

#header {
	background-color: #FFFFFF;
}

#header-logo {
	padding: 20px 0;
	float: left;
}

#logo {
	width: 300px;
	height: 65px;
	background: url("/images/logo.png") no-repeat scroll transparent;
}

#header-banner {
	padding: 2px 0;
	float: right;
}

/*** menu **/
.tut-title{
	font-size:26px;
	margin:10px 10px 10px 10px;
}

.dropdown-item{
	padding-bottom:10px;
}

.dropdown-item li{
	display:list-item!important;
	padding:0 0 4px 0!important;
	margin : 0!important;
	clear:both!important;
}

.dropdown a:hover{
	color:#FFFFFF!important;
	text-decoration:underline!important;
}

#menu {
	background-color: #548B54;
	color: #fff;
	border-bottom: 1px solid #97A1AB;
	border-top: 1px solid #A6AEB7;
	font-size: 14px;
	margin-bottom: 20px;
}

#menu ul{
	margin:0!important;
}

#menu li {
	float:left;
	display:block;
	text-align:center;
	position:relative;
	padding: 6px 20px;
	border:none;
	margin:2px 0px;
}

.menu-allround:hover{
	display:block;
	background:#32CD32;
	-moz-border-radius: 10px;
	-webkit-border-radius: 10px;
	border-radius: 10px;
}

.menu-topround:hover{
	display:block;
	background:#228B22;
	-moz-border-radius: 10px 10px 0px 0px;
	-webkit-border-radius: 10px 10px 0px 0px;
	border-radius: 10px 10px 0px 0px;
}

#spring-menu, #frameworks-menu, #java-core-menu, 
#struts-menu, #android-menu, #hibernate-menu,
#jsf-menu, #java-menu,#misc-menu{
		margin:3px auto;
		float:left;
		position:absolute;
		left:-999em;
		text-align:left;
		padding:10px 5px 10px 5px;
		border:1px solid #228B22;
		-moz-border-radius: 0px 10px 10px 10px;
		-webkit-border-radius: 0px 10px 10px 10px;
		border-radius: 0px 10px 10px 10px;
		border-top:none;
		background:#228B22;
z-indeX: 999;
}

#spring-menu {width: 300px;}
#struts-menu {width: 300px;}
#android-menu {width: 400px;}
#hibernate-menu {width: 300px;}
#frameworks-menu {width: 300px;}
#java-core-menu {width: 300px;}
#jsf-menu {width: 300px;}
#java-menu {width: 300px;}
#misc-menu{width: 200px;}

#menu li:hover #java-core-menu,
#menu li:hover #frameworks-menu,
#menu li:hover #spring-menu,
#menu li:hover #struts-menu,
#menu li:hover #android-menu,
#menu li:hover #hibernate-menu,
#menu li:hover #jsf-menu,
#menu li:hover #java-menu,
#menu li:hover #misc-menu{
	left:0px;
	top:30px;
}

#menu li a {
	color:#fff;
}

#menu li:hover a {
	color:#fff;
	text-decoration:none;
}

#menu li a.active {
    color: #fff;
	text-decoration:none;
}


/*
* post.php
*/
.post-thumbnail{
	margin:0 10px 0 0;
	border: 1px solid #DDD;
	padding: 4px;
	float:left;
}

.filename{
	background: none repeat scroll 0 0 #E6E6FC;
	border-radius: 4px 4px 0px 0px;
	color: #333;
	padding: 3px 10px 3px 10px;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.75);
	word-wrap: break-word;
	border: 1px solid #D1D1E8;
	border-bottom: none;
}

#author-info{
	margin: 20px 0;
	background-color: #F8F8F8;
	border-left: 5px solid #E1E1E1;
	padding: 20px;
	display:block;
}

#author-avatar{
	float:left;
	margin-right:10px;
	border: 1px solid #DDD;
	padding: 4px;
}

#big-author-avatar img {
	float:left;
	margin-right:20px;
	-webkit-border-radius: 60px;
	-moz-border-radius: 60px;
	border-radius: 60px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

#small-author-avatar img {
	width: 40px;
	height: 40px;
	float:left;
	margin-right:10px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	border-radius: 20px;
	-moz-background-clip: padding;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
}

#author-link {
	font-size: 24px;
	margin-bottom: 2px;
}

#author-description{
	margin-left:110px;
}


#post-after-related-post{
	float:left;
	margin-right:40px;
	width:360px;
}

#post-after-related-post h4, #post-after-popular-post h4{
	margin: 0 0 10px 0!important;
}

#post-after-popular-post{
	float:left;
	width:350px;
}

#post-after-banner{
        margin:10px 0;
}

#all-posts-by-author{
	background-color: #F4F4F4;
	margin-bottom:20px;
	padding:10px;
	border-top: 1px solid #DEDEDE;
	border-bottom: 1px solid white;
	color: #999;
        margin-top:20px;
}

#post-container ul{
	list-style-image:url('/wp-content/themes/mkyong-ma/images/arrow-red.png');
}

#page-title{
	margin: 0 0 20px 0!important;
}

#post-container h1{
	text-transform: capitalize;
	line-height: 1.2em;
	letter-spacing: -1px;
	margin-bottom:6px;
    font-size: 32px;
	color:#548B54;
}

#post-container h4,#post-container h3 {	
	margin: 50px 0 4px 0;
	font-weight: bold;
	font-size: 22px;
	line-height: 36px;	
}

#post-container a:link,#post-container a:visited,#post-container a:active
{
	text-decoration: underline;
}

#post-container a:hover {
	text-decoration: none;
}

.post-meta{
	font-size:14px;
	margin-bottom:20px;
	color:#999;
        border-bottom: 1px dashed #DDD;
        padding-bottom: 20px;
}
/*
#post-meta-author a:link, #post-meta-author a:visited, #post-meta-author a:active{
	text-decoration: none!important;
	color: #ABABAB!important;
}

#post-meta-author a:hover {
	text-decoration: underline!important;
	color: #228B22!important;
}
*/

#author-name{
	font-size:24px;
	margin-bottom:10px;
}

/*
.post-tag a{
	color:#222;
	margin: 0 4px 0 0;
	padding: 4px 10px;
	border-radius: 8px;
	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	-khtml-border-radius: 8px;
	background: #F3F3F3;
	text-decoration: none!important;
}

.post-tag a:hover{
	color:#228B22!important;
	text-decoration: underline!important;
}*/

.post-tag a{
	color: #548B54;
	background-color: #E0EAF1;
	border-bottom: 1px solid #548B54;
	border-right: 1px solid #7F9FB6;
	padding: 5px 10px;
	margin: 2px 2px 2px 0;
	text-decoration: none!important;
	white-space: nowrap;
}

.post-tag a:hover{
	background-color: #548B54;
	color: #E0EAF1;
	border-bottom: 1px solid #37607D;
	border-right: 1px solid #37607D;
	text-decoration: none;
}


.download {
	padding: 40px 85px;
	border: 1px solid #CEEBCE;
	background:
	url('/wp-content/themes/mkyong-ma/images/download.png') no-repeat 20px 20px #DFF7DF;
	margin-bottom: 20px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.note {
	background-color: #E6E6FC;
	border: 1px solid #D1D1E8;
	padding: 20px;
	margin: 20px 0px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.warning {
	background-color: #F7F7DA;
	border: 1px solid #E5E5C3;
	padding: 20px;
	margin: 20px 0px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.trap, .error {
	background-color: #FAE1E1;
	border: 1px solid #F5C4C4;
	padding: 20px;
	margin: 20px 0px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.pic {
	background-color: #F9F9F9;
	border: 1px solid #DDD;
	margin: 20px 0;
	padding: 20px;
	text-align: center;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.demo-video{
        background-color: #F9F9F9;
	border: 1px solid #DDD;
	margin: 20px 0;
	padding: 20px;
	text-align: center;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}
.clearboth {
	clear: both;
}

.sidebar-ads {
	margin-bottom: 8px;
}

#related-tutorials{
	margin:40px 0;
}

/*
* tag.php For listing
*/
/*
#listing-post-container a:link,#listing-post-container a:visited,#listing-post-container a:active{
	text-decoration: none;
	color: #252525;
}

#listing-post-container a:hover {
	text-decoration: underline;
	color: #228B22;
}*/

.listing-post-meta{
	font-size:14px;
	margin-bottom:20px;
	color:#999;
}

#listing-post-container{
	margin-bottom:40px;
}

#listing-post-container h2{
	margin:0 0 10px 0x;
	padding:0;
}

.listing-box{
	padding:10px 10px 20px 10px;
	margin-bottom:20px;
	border-bottom: 1px dashed #E4E4E7;
        margin-top: 5px;
}

#listing-post-container h1, #listing-post-container h2 {
	margin: 0;
	font-weight: 700;
	line-height: 1.15em;
	letter-spacing: -1px;
	color: #252525;
}

#listing-post-container h1{
	font-size: 2.0em;
	margin-bottom:20px;
	color:#548B54;
}

#listing-post-container h2{
	font-size: 1.2em;
	margin-bottom:2px;
        text-transform: capitalize;
}

#post-meta-extra{
	margin: 20px 0;
	color: #999;
}

#listing-post-container .listing-content{
	margin-left:130px;
}

.bluelink a:link, .bluelink a:visited, .bluelink a:active{
	text-decoration: underline!important;
	color: #228B22!important;
}

.bluelink a:hover {
	text-decoration: none!important;
	color: #228B22!important;
}

.authorlink a:link, .authorlink a:visited, .authorlink a:active{
	text-decoration: none!important;
	color: #ABABAB!important;
}

.authorlink a:hover {
	text-decoration: underline!important;
	color: #228B22!important;
}

#listing-paging{
	margin:40px 0;
}
/*
* comments.php comment section
*/

#post-comments ol {
	margin: 0;
}

#post-comments h2 {
	font-size: 1.5em;
	line-height: 1.2em;
	text-transform: capitalize;
	font-weight: normal;
	color: #252525;
	margin:60px 0 20px 0;
}

#post-comments .odd {
	background-color: #F8F8F8;
}

#post-comments .even {
	background-color: #FFF;
}

#post-comments .comments-date {
	float: right;
	font-size: 12px;
	color: #828282;
}

#post-comments .fn {
	font-size: 18px;
	font-weight: bold;
}

#post-comments .comment {
	overflow: auto;
}

#post-comments .reply {
	float: right;
	clear: both;
	margin-bottom: 20px;
}

#post-comments .comment-box {
	padding: 20px 20px 0 20px;
	border: 1px solid #E4E4E7;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

#post-comments .commentlist li {
	list-style-type: none;
	margin-bottom: 20px;
}

#post-comments .avatar {
	float: left;
	margin: 0 20px 10px 0;
}

#post-comments .cancel-reply {
	margin-left: 10px;
}

#respond #reply-title {
	margin: 0 0 20px 0;
}

#respond .comment-form-label {
	margin: 0 0 20px 10px;
}

#post-comments #comment-form-textarea {
	margin-right: 10px;
}

/*
* footer.php footer section
*/
#footer-container {
	padding: 20px 0 15px 0;
}

footer {
	color: white;
	font-size: 13px;
}

footer a:link,footer a:visited,footer a:active {
	text-decoration: none;
	color: #FFFFFF;
}

footer a:hover {
	text-decoration: underline;
	color: #FFFFFF;
}

#footer-container ul li {
	line-height: 20px;
	margin-bottom:2px;!important;
}

footer h3 {
	color: #fff;
	font-size: 16px;
	border-bottom: 1px solid #FFFFFF;
	margin: 0 0 20px 0;
	padding: 0 0 8px 0;
	font-size: 16px;
}

#footer-avatar {
	float: left;
	margin-right: 10px;
}

#footer-container {
	background-color: #548B54;
	min-height: 300px;
}

#footer-copyright {
	background-color: #548B54;
	border-top: 1px solid #FFFFFF;
	padding: 10px;
}

/**** tutorials images ****/
.img-holder{
	float:left;
	margin:0 10px 10px 10px;
}

.img-border{
	border: 1px solid #DDD;
	padding: 4px;
	-webkit-border-radius: 4px;
	-moz-border-radius: 4px;
	border-radius: 4px;
}

.img-android{
  	background-position: 1px 1px;
}
.img-gae{
  	background-position: -393px -260px;
}
.img-hibernate{
  	background-position: -130px 1px;
}
.img-jdbc{
  	background-position: 1px -391px;
}
.img-io{
  	background-position: -656px 1px;
}
.img-json{
  	background-position: -130px -129px;
}
.img-jquery{
  	background-position: -130px -260px;
}
.img-jsf2{
  	background-position: -261px -129px;
}
.img-maven{
  	background-position: -524px -129px;
}
.img-regex{
  	background-position: 1px -129px;
}
.img-spring{
  	background-position: -261px 1px;
}
.img-struts{
  	background-position: -130px -391px;
}
.img-struts2{
  	background-position: -261px -391px;
}
.img-jaxws{
  	background-position: -392px -129px;
}
.img-jaxrs{
  	background-position: 1px -260px;
}
.img-mongodb{
  	background-position: -656px -129px;
}
.img-wicket{
  	background-position: -524px 1px;
}
.img-java{
  	background-position: -656px -260px;
}
.img-quartz{
  	background-position: -392px -392px;
}
.img-xml{
  	background-position: -392px 1px;
}
.img-json{
  	background-position: -130px -129px;
}
.img-junit{
  	background-position: -261px -260px;
}
.img-testng{
  	background-position: -524px -260px;
}

/* list all tutorials */
#mainpage h2{
	font-size:16px;
	margin:0px;
	padding:0 0 4px 0;
	line-height: 1.5;
}

#mainpage .row{
	margin-bottom:20px;
}ge .row{
	margin-bottom:20px;
}-260px;
}

/* list all tutorials */
#mainpage h2{
	font-size:16px;
	margin:0px;
	padding:0 0 4px 0;
	line-height: 1.5;
}

#mainpage .row{
	margin-bottom:20px;
}ow{
	margin-bottom:20px;
}